<!-- body  -->
<div id="header" class="layui-container" style="margin-top: 20px;">
	<div id="header_right">
		<a href="index.html" ><img src="img/header/joinlog.png" style="margin: 10px 0px 10px;" /></a>
		<span id="" style="margin-left: 150px;">
			<a href="#">在线客服</a> |
			<a href="#">帮助中心</a> |
			<a href="#">English</a>
		</span>
	</div>
	<div id="header_left" class="layui-layout-right" style="margin: 20px 0px 10px;">
		<span style="color: limegreen; margin: 0px 20px 0px;"><img src="img/header/com_icon02.gif" /><em>小程序</em></span>
		<span style="color: #ff6c67; margin: 0px 20px 10px;"><img src="img/header/com_icon01.gif" /><em>手机版</em></span>
		<span style="color: #4a94f5; margin: 0px 20px 10px;"><img src="img/header/com_icon03.gif" /><em>客服电话</em></span>
		<span style="color: #4a94f5; margin: 0px 50px 10px;"></span>
	</div>
</div>
<div id="nav_box" style="background-color: #1e9fff;">
	<div id="nav_bar" class="layui-container">
		<ul class="layui-nav layui-bg-blue" lay-filter="">
			<li class="layui-nav-item"><a href="">最新活动</a></li>
			<!-- layui-this 当前导航位置 -->
			<li class="layui-nav-item "><a href="">产品</a></li>
			<li class="layui-nav-item layui-this"><a href="">大数据</a></li>
			<li class="layui-nav-item">
				<a href="javascript:;">解决方案</a>
				<dl class="layui-nav-child">
					<!-- 二级菜单 -->
					<dd><a href="">移动模块</a></dd>
					<dd><a href="">后台模版</a></dd>
					<dd><a href="">电商平台</a></dd>
				</dl>

			<li class="layui-nav-item"><a href="">社区</a></li>
			<div class="layui-layout-right">
				<span id="logBtn" class="layui-btn" style="margin-top: 13px; background-color: #1e9fff;">登录</span>
				<span id="regBtn" class="layui-btn" style="margin-top: 13px; background-color: #1e9fff;">注册</span>
			</div>
		</ul>
	</div>
</div>
<!-- js代码部分 -->
<script>
	//注意：导航 依赖 element 模块，否则无法进行功能性操作
	layui.use('element', function() {
		var element = layui.element;
		
		
		//登录点击事件
		$("#logBtn").click(function(){
			alert("login");
		});
		
		//注册点击事件
		$("#regBtn").click(function(){
			alert("login");
		});
		//…
	});
</script>
